import requests,json
novel_url = 'https://www.biqugexsw.com/1_1394/'
chapter_url = 'https://www.biqugexsw.com/3_3568/2536689.html'
data = {'keyword':'大主宰','homepage':'homepage','novel_url':novel_url,'chapter_url':chapter_url}
url = 'http://127.0.0.1:8000/penattic/chapter_api_url'
r = requests.post(url,data = data)
print(r.json())
print(r.url)